package com.baoyouqun.domain.VO;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 权限菜单树形VO
 */
@Data
public class MenuTreeVO {

    @ApiModelProperty(value = "权限ID")
    private String id;

    @ApiModelProperty(value = "权限名称")
    private String permName;

    @ApiModelProperty(value = "权限类型（MENU=菜单，BUTTON=按钮）")
    private String type;

    @ApiModelProperty(value = "菜单跳转地址（按钮为#）")
    private String path;

    @ApiModelProperty(value = "子权限（子菜单或按钮）")
    private List<MenuTreeVO> children;
}